﻿namespace SY.Uap
{
    /// <summary>
    /// 
    /// </summary>
    public enum ResultKey
    {
        /// <summary>
        /// 
        /// </summary>
        ForbiddenReferer = 1,//默认从1开始，免得第一个总被默认 2011-05-05

        /// <summary>
        /// 
        /// </summary>
        WrongPassword,

        /// <summary>
        /// 
        /// </summary>
        WrongRequestMethod,

        /// <summary>
        /// 
        /// </summary>
        WrongParameters,

        /// <summary>
        /// 
        /// </summary>
        PasswordProtectionNotFound,

        /// <summary>
        /// 
        /// </summary>
        RepeatedMobileBinding,

        /// <summary>
        /// 
        /// </summary>
        InvalidUserName,

        /// <summary>
        /// 
        /// </summary>
        UserNameTooShort,

        /// <summary>
        /// 
        /// </summary>
        RepeatedUserName,

        /// <summary>
        /// 
        /// </summary>
        RepeatedEmail,

        /// <summary>
        /// 
        /// </summary>
        RepeatedNickName,

        /// <summary>
        /// 
        /// </summary>
        InvalidEmail,

        /// <summary>
        /// 
        /// </summary>
        InvalidMSN,

        /// <summary>
        /// 
        /// </summary>
        InvalidMobileNumber,

        /// <summary>
        /// 
        /// </summary>
        UserNotFound,

        /// <summary>
        /// 
        /// </summary>
        SessionNotFound,

        /// <summary>
        /// 
        /// </summary>
        UnauthorizedUserType,

        /// <summary>
        /// 
        /// </summary>
        SystemError,

        /// <summary>
        /// 帐户不可用
        /// </summary>
        AccountUnavailable,

        /// <summary>
        /// 
        /// </summary>
        InvalidPasswordLength,

        /// <summary>
        /// 
        /// </summary>
        BindingNotFound,

        /// <summary>
        /// 
        /// </summary>
        InvalidPassword,

        /// <summary>
        /// 
        /// </summary>
        InvalidNickNameLength,

        /// <summary>
        /// 
        /// </summary>
        InvalidUserNameLength,

        /// <summary>
        /// 
        /// </summary>
        BeBoundAlready,

        /// <summary>
        /// 找回密码的code不合法 2011-06-13
        /// </summary>
        InvalidCode,

        /// <summary>
        /// 找回密码的code已经过期 2011-06-13
        /// </summary>
        ExpiredCode,

        /// <summary>
        /// 
        /// </summary>
        PasswordResetAlready,

        /// <summary>
        /// 
        /// </summary>
        OK,

        /// <summary>
        /// 
        /// </summary>
        NotSet,

        /// <summary>
        /// 
        /// </summary>
        MethodNotAllowed,

        /// <summary>
        /// 首次登陆需要更改密码 
        /// </summary>
        NeedUpgradePassword
    }
}
